Sorting array of object based on length array inside of object

welcome to shbcf.ru